package com.lecture.java8.gui;

public class User {
    private int date;
    private int id;
    private String name;
    private String starting;
    private int lasting;
    public User(){
        date=0;
        id=0;
        name=null;
        starting=null;
        lasting=0;
    }
    public User(int date, int id,String name, String starting, int lasting) {
        this.date = date;
        this.id=id;
        this.name = name;
        this.starting = starting;
        this.lasting = lasting;
    }

    public int getDate() {
        return date;
    }

    public void setDate(int date) {
        this.date = date;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStarting() {
        return starting;
    }

    public void setStarting(String starting) {
        this.starting = starting;
    }

    public int getLasting() {
        return lasting;
    }

    public void setLasting(int lasting) {
        this.lasting = lasting;
    }
}
